//
//  VCDownloadManger.h
//  VC
//
//  Created by 肖康龙 on 2017/8/30.
//  Copyright © 2017年 vsoontech. All rights reserved.
//



#import <Foundation/Foundation.h>
@class VCDownloadManger;





@protocol VCDownloadMangerDelegate <NSObject>
/**
 *url :播放地址
 */
-(void)download:(VCDownloadManger *)dounload url:(NSString *)url;

@end

@interface VCDownloadManger : NSObject

/**单利*/
+(VCDownloadManger *)DownloadManger;

@property (nonatomic,weak)id<VCDownloadMangerDelegate>delegate;



/**下载ID*/
-(void)downloadVideoWithId:(NSString *)linkId;


/**停止
 *playTime 播放的时长
 */
-(void)stopDownload;

/**启动调试页面
 */
-(void)startDeBugViewCaton;
/**去除调试页面*/
-(void)removeDebug;
/**播放器暂停播放*/
-(void)playerSuspendPlay;
/**播放器开始播放*/
-(void)playerStartPlay;
@end
